<template>
    <div class="contact">
        <van-nav-bar class="head" title="联系商家" left-arrow @click-left="onClickLeft"/>
        <van-cell-group>
			<van-field class="chat"  center clearable placeholder="请输入内容">
				<van-button slot="button" size="small" type="warning" @click="onsubmit">发送</van-button>
			</van-field>
	</van-cell-group>
    </div>
</template>

<script>
export default {
    name: 'contact',
    data (){
        return {}
    },
    methods:{
        onClickLeft() {
            // this.$router.push({path:'/commoditypage'});
            this.$router.go(-1)
        },
        onsubmit (){
            
        }
    }
}
</script>

<style scoped>
.van-nav-bar .van-icon {
    color:white;
}
.van-nav-bar{
    background-color:#ff5733;
}
.van-nav-bar__title{
    color:white;
}
.head{
    background-color: #ff5733;
}
.van-nav-bar__title {
    color: white;
}
.van-nav-bar .van-icon {
    color:white;
}
.chat{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 1.333333rem;
}
</style>